@charset "utf-8";
@import "./common/variables";
@import "./common/fullPage";
@import "./components/footer";

html {
  height: 100%;
  width: 100%;
  font-size: 16px;
  background: none repeat scroll 0 0 #fff;
  color: #000;
}

body {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
  line-height: 1.15;
}

select, input, button, textarea {
  font-size: 99%;
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
  line-height: 1.15;
  &:focus {
    outline: none;
  }
}

.clearfix {
  *zoom: 1;
  &:before, &:after {
    content: "";
    display: table;
  }
  &:after {
    clear: both;
    overflow: hidden;
  }
}

//px2rem
@function px2rem($px, $base-font-size: 37.5px) {
  @if (unitless($px)) {
    @warn "Assuming #{$px} to be in pixels, attempting to convert it into pixels for you";
    @return px2rem($px + 0px); // That may fail.
  } @else if (unit($px) == rem) {
    @return $px;
  }
  @return ($px / $base-font-size) * 1rem;
}

//宽高
@mixin wh($width: auto, $height: auto) {
  @if ($width == auto) {
  } @else if (unit($width) == px) {
    width: px2rem($width);
  } @else {
    width: $width;
  }
  @if ($height == auto) {
  } @else if (unit($height) == px) {
    height: px2rem($height);
  } @else {
    height: $height;
  }
}

//背景图宽高
@mixin bgs($width: auto, $height: auto) {
  @if (unit($width) == px and unit($height) == px) {
    background-size: px2rem($width), px2rem($width);
  } @else if (unit($width) == px) {
    background-size: px2rem($width), $height;
  } @else {
    background-size: $width, px2rem($height);
  }
}

//字体大小，颜色
@mixin sc($size, $color) {
  font-size: px2rem($size);
  color: $color;
}

//字体使用px单位，根据屏幕像素比自适应
@mixin font-dpr($font-size) {
  font-size: $font-size;

  [data-dpr="2"] & {
    font-size: $font-size * 2;
  }

  [data-dpr="3"] & {
    font-size: $font-size * 3;
  }
}

//定位上下左右居中
@mixin center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

//定位上下居中
@mixin ct {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

//定位左右居中
@mixin cl {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

//flex 布局和 子元素 对其方式
@mixin fj($type: space-between) {
  display: flex;
  justify-content: $type;
}

//超过固定宽高显示省略号
@mixin ellipsis($line-num: 1) {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: $line-num;
  -webkit-box-orient: vertical;
  word-break: break-all;
}

#navBar {
  margin-top: -30px;
}

#navBar .active {
  width: 5px;
  height: 5px;
  background: #FF7F40;
  border-color: #FF7F40;
  color: #ccc;
}
#navBar li {
  color: #ccc;
  cursor: pointer;
  margin-bottom: 5px;
  transition: all .7s ease;
  border: 1px solid #ccc;
  border-radius: 50%;
  line-height: 10px;
  text-align: center;
  width: 5px;
  height: 5px;
}


.page1 {
  .anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("#{$assets-site}/page1-bg.jpg?v=1.0.3") no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
  }
  .p1 {
    width: px2rem(330px);
    margin-bottom: px2rem(10px);
    font-size: px2rem(21px);
    font-weight: lighter;
    letter-spacing: px2rem(4px);
  }
  .p2 {
    font-size: px2rem(16px);
    font-weight: lighter;
    letter-spacing: px2rem(12px);
  }
  .container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    height: 100%;
  }
  .content {
    @include center;
    text-align: center;
  }
  ul.page1-footer {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: px2rem(40px);
    width: auto;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
    li {
      display: inline-block;
      font-size: 18px;
      letter-spacing: 8px;
      img {
        width: px2rem(163px);
        height: px2rem(15px);
      }
    }
  }
}

.QRcode-container {
  position: absolute;
  width: 100%;
  bottom: px2rem(60px);
  height: px2rem(120px);
  -webkit-background-size: cover;
  background-size: cover;
}

.center-contanier {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: px2rem(180px);
  height: 100%;
  margin: auto;
  font-size: px2rem(14px);
  text-align: center;
  color: #ffffff;
  p {
    margin-top: 20px;
  }
}

.app {
  float: left;
}

.weixin {
  float: right;
}

.app img, .weixin img {
  width: px2rem(60px);
  height: px2rem(60px);
}

.page2 {
  .anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .anxin {
    position: absolute;
    left: px2rem(10px);
    bottom: px2rem(30px);
    @include wh(248px * 0.4, 352px * 0.4);
    background: url('#{$assets-site}/image-anxin.png') center no-repeat;
    -webkit-background-size: px2rem(248px * 0.4) auto;
    -moz-background-size: px2rem(248px * 0.4) auto;
    -o-background-size: px2rem(248px * 0.4) auto;
    background-size: px2rem(248px * 0.4) auto;
  }
  .jiangxin {
    position: absolute;
    right: px2rem(10px);
    top: px2rem(30px);
    @include wh(250px * 0.4, 344px * 0.4);
    background: url('#{$assets-site}/image-jiangxin.png') center no-repeat;
    -webkit-background-size: px2rem(250px * 0.4) auto;
    -moz-background-size: px2rem(250px * 0.4) auto;
    -o-background-size: px2rem(250px * 0.4) auto;
    background-size: px2rem(250px * 0.4) auto;
  }
  .container {
    height: 100%;
    text-align: center;
  }
  .title-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: px2rem(15px) 0 px2rem(15px) px2rem(15px);
    text-align: left;
  }
  .title {
    width: 100%;
    font-size: px2rem(14px);
    color: $main-color;
    vertical-align: bottom;
  }
  .title img {
    width: auto;
    height: px2rem(22px);
    vertical-align: bottom;
  }
  .center {
    position: absolute;
    top: 0;
    width: px2rem(325px);
    height: px2rem(400px);
    margin-top: px2rem(120px);
    @include cl;
    p {
      font-size: px2rem(10px);
    }
  }
  .p1 {
    margin-bottom: px2rem(40px);
    letter-spacing: px2rem(4px);
    font-size: px2rem(20px);
    color: #f93266;
  }
  .p2 {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'KaiTi', "楷体", Helvetica, Arial, sans-serif !important;
    margin-bottom: px2rem(30px);
    letter-spacing: 0;
    line-height: 1.5;
  }
  .p3 {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'KaiTi', "楷体", Helvetica, Arial, sans-serif !important;
    letter-spacing: 0;
    line-height: 1.8;
  }
  .page2-image {
    img {
      width: 90%;
      height: auto;
    }
    margin-top: px2rem(40px);
  }
}

.page3 {
  position: relative;
  box-sizing: border-box;
  .title-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: px2rem(15px) 0 px2rem(15px) px2rem(15px);
    text-align: left;
  }
  .title {
    width: 100%;
    font-size: px2rem(14px);
    color: $main-color;
    vertical-align: bottom;
  }
  .title img {
    width: px2rem(22px);
    height: px2rem(22px);
    vertical-align: bottom;
  }
  .anim {
    height: px2rem(250px);
    background: url('#{$assets-mobile}/mobile_page3_image1.jpg?v=1.0.3') center no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
  }
  .word {
    width: px2rem(140px);
    height: px2rem(84px);
    position: absolute;
    top: px2rem(212px);
    right: px2rem(30px);
  }
  .line {
    width: 100%;
    height: 1px;
    margin-top: px2rem(20px);
    margin-bottom: px2rem(20px);
    border-bottom: 2px dotted #ffbcbc;
  }
  .card-fixed-main {
    width: 100%;
    height: auto;
    margin: 0 auto;
    .chef-list {
      li {
        width: px2rem(113px);
        margin-right: px2rem(18px);
        float: left;
        background-color: #fff;
        box-sizing: border-box;
        &:last-child {
          margin-right: 0;
        }
        img {
          display: block;
          width: 100%;
          height: auto;
        }
        p {
          text-align: center;
        }
        .title {
          padding-top: px2rem(12px);
          font-size: px2rem(14px);
          color: $main-color;
        }
        .name {
          padding-top: px2rem(4px);
          font-size: px2rem(18px);
          color: #591f1f;
        }
      }
    }
  }
}


.page4 {
  .anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .anxin {
    position: absolute;
    left: px2rem(10px);
    bottom: px2rem(30px);
    @include wh(240px * 0.4, 152px * 0.4);
    background: url('#{$assets-mobile}/page4-image-anxin.png') center no-repeat;
    -webkit-background-size: px2rem(248px * 0.4) auto;
    -moz-background-size: px2rem(248px * 0.4) auto;
    -o-background-size: px2rem(248px * 0.4) auto;
    background-size: px2rem(248px * 0.4) auto;
  }
  .jiangxin {
    position: absolute;
    right: px2rem(10px);
    top: px2rem(50px);
    @include wh(240px * 0.4, 156px * 0.4);
    background: url('#{$assets-mobile}/page4-image-jiangxin.png') center no-repeat;
    -webkit-background-size: px2rem(250px * 0.4) auto;
    -moz-background-size: px2rem(250px * 0.4) auto;
    -o-background-size: px2rem(250px * 0.4) auto;
    background-size: px2rem(250px * 0.4) auto;
  }
  .safety-container {
    .title-container {
      position: relative;
      z-index: 1;
      width: 100%;
      height: auto;
      margin: 0 auto;
      padding: px2rem(15px) 0 px2rem(15px) px2rem(15px);
    }
    .title {
      width: 100%;
      font-size: px2rem(14px);
      color: $main-color;
      vertical-align: bottom;
    }
    .title img {
      width: px2rem(22px);
      height: px2rem(22px);
      vertical-align: bottom;
    }
    .safety {
      width: 100%;
      margin: 0 auto;
      margin-top: px2rem(20px);
    }
    .safety .row {
      width: 100%;
      box-sizing: border-box;
      padding: 0 px2rem(48px);
    }
    .col-ms-4 {
      position: relative;
    }
    .col-ms-4 img {
      display: block;
      width: 100%;
      height: auto;
    }
    .item {
      position: relative;
      margin-bottom: px2rem(10px);
      &:last-child {
        margin-bottom: 0;
      }
    }
    .safety-images {
      float: left;
      @include wh(160px, auto);
    }
    .safety-names {
      padding-left: px2rem(160px);
      font-family: 'KaiTi', '楷体', Helvetica, Arial, sans-serif;
      font-size: px2rem(16px);
      text-align: center;
      line-height: px2rem(140px);
      color: $black;
    }
    .safety-info {
      display: none;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 3;
      height: 100%;
      padding: 0 px2rem(20px) 0 px2rem(20px);
      overflow: hidden;
      background-color: rgba(19, 14, 14, .5);
      p {
        margin-top: px2rem(30px);
        font-size: px2rem(10px);
        line-height: 1.5;
        letter-spacing: 1px;
        color: #ffffff;
      }
    }
  }
}

.page5 {
  color: #252525;
  padding-top: 0;
  height: 100%;
  text-align: center;
  .title-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: px2rem(15px) 0 px2rem(15px) px2rem(15px);
    text-align: left;
  }
  .title {
    width: 100%;
    font-size: px2rem(14px);
    color: $main-color;
    text-align: left;
    vertical-align: bottom;
  }
  .title img {
    display: inline-block;
    width: auto;
    height: px2rem(20px);
    margin-bottom: 0;
    vertical-align: bottom;
  }
  .map {
    position: relative;
    width: 100%;
    padding-top: 90%;
    background: url("#{$assets-mobile}/mobile-map.jpg?v=1.0.3") center no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
  }
  .company-info {
    position: relative;
    font-size: px2rem(12px);
    font-weight: 300;
    .center-transform {
      position: absolute;
      width: 100%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    img {
      margin-right: 6px;
      vertical-align: middle;
    }
    .company img {
      @include wh(22px, auto);
    }
    .address {
      line-height: 1.5;
      img {
        @include wh(24px, 24px);
      }
    }
    .phone {
      margin-top: px2rem(4px);
      line-height: 1.5;
      vertical-align: middle;
      img {
        @include wh(18px, 16px);
      }
    }
  }
  .phone {
  }
  .footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 6px;
    margin: 0 auto;
    background-color: #f5f5f5;
    font-size: px2rem(10px);
  }
}

.dingwei {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 154px;
  height: 154px;
  background: url("#{$assets-mobile}/mobile-map.jpg") center no-repeat;
  -webkit-background-size: 154px;
  background-size: 154px;
}

.leida {
  .w1, .w2, .w3 {
    border: 1px solid #aaaaaa;
    position: absolute;
    top: 1px;
    left: 1px;
    border-radius: 50%;
  }
}

.leida {
  position: relative;
  width: 152px;
  height: 152px;
  //&.leida5 {
  //  background: url("../images/img_ld5.png") center no-repeat;
  //}
  //&.leida4 {
  //  background: url("../images/img_ld4.png") center no-repeat;
  //}
  //&.leida3 {
  //  background: url("../images/img_ld3.png") center no-repeat;
  //}
  //&.leida2 {
  //  background: url("../images/img_ld2.png") center no-repeat;
  //}
  //&.leida1 {
  //  background: url("../images/img_ld1.png") center no-repeat;
  //}
}

@-webkit-keyframes opac{
  from {opacity: 1;width:0;height:0;top:50%;left:50%;}
  to {opacity : 0;width:100%;height:100%;top:0;left:0;}
}
.w1,.w2,.w3{visibility: hidden;}
.leida-animate .w1{
  visibility:visible;
  -webkit-animation:opac 1.5s infinite;
}
.leida-animate .w2{
  visibility:visible;
  -webkit-animation:opac 1.5s infinite;-webkit-animation-delay:.3s;
}
.leida-animate .w3{
  visibility:visible;
  -webkit-animation:opac 1.5s infinite;-webkit-animation-delay:.6s;
}


.location {
  position: relative;
  top: -154px;
  float: left;
  width: 154px;
  height: 154px;
  z-index: 10;
}

.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 604px;
  height: 332px;
  margin-top: -166px;
  margin-left: -302px;
  background-color: #f6f6f6;
  border-radius: 10px;
  z-index: 100;
  .row {
    position: relative;
    width: 100%;
    height: 100%;
    .col-4 {
      float: left;
      width: 130px;
      padding-left: 52px;
      padding-top: 76px;
      height: auto;
      img {
        display: block;
      }
      p {
        margin-top: 20px;
        font-size: 1.125rem;
        color: #252525;
        text-align: center;
      }
    }
  }
  .close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 38px;
    height: 38px;
    background: url("../images/icon_close.png") center no-repeat #f6f6f6;
    border-radius: 30px;
    opacity: 1;
    z-index: 101;
    cursor: pointer;
  }
}

.marken {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

#downloadApp {
  cursor: pointer;
}

.anim_index_bg {
  -webkit-transition: 4.8s 0s all ease;
  transition: 4.8s 0s all ease;
  -webkit-transform: scale(1.1,1.1);
  transform: scale(1.1,1.1);
}

.anim_bg {
  -webkit-transition: 5s 0s all ease;
  transition: 5s 0s all ease;
  -webkit-transform: scale(1.05,1.05);
  transform: scale(1.05,1.05);
}

/*动画*/
.animated {
  animation-duration: 2s;
  animation-fill-mode: both;
}

.animated2 {
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes zoomIn {
  from {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: scale3d(1.15, 1.15, .3);
  }
}

.zoomIn {
  animation-name: zoomIn;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0, 0);
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: scale(400, 1);
    opacity: 1;
  }
}

.scaleIn {
  animation-name: scaleIn;
}

